package observer;

public class Mouse extends EventListener {
    public void click() {
        System.out.println("Perform Click action");
        this.trigger(MouseEventType.ON_CLICK);
    }

    public void doubleClick() {
        System.out.println("Perform Double Click action");
        this.trigger(MouseEventType.ON_DOUBLE_CLICK);
    }

    public void up() {
        System.out.println("Perform Loose action");
        this.trigger(MouseEventType.ON_LOOSE);
    }

    public void press() {
        System.out.println("Perform Press action");
        this.trigger(MouseEventType.ON_PRESS);
    }
    public void move() {
        System.out.println("Perform Move action");
        this.trigger(MouseEventType.ON_MOVE);
    }
    public void wheel() {
        System.out.println("Perform Wheel action");
        this.trigger(MouseEventType.ON_WHEEL);
    }
    public void hangover() {
        System.out.println("Perform Hangover action");
        this.trigger(MouseEventType.ON_HANGOVER);
    }
    public void blur() {
        System.out.println("Perform blur action");
        this.trigger(MouseEventType.ON_BLUR);
    }
    public void focus() {
        System.out.println("Perform focus action");
        this.trigger(MouseEventType.ON_FOCUS);
    }


}
